package cn.itcast.service.impl;
import java.util.List;

import cn.itcast.dao.ChapterContentDao;
import cn.itcast.dao.impl.ChapterContentDaoImpl;
import cn.itcast.service.ChapterContentService;
import cn.itcast.vo.ChapterContent;

public class ChapterContentServiceImpl implements ChapterContentService {
	private ChapterContentDao chapterContentDao;
	public ChapterContentServiceImpl(){
		chapterContentDao=new ChapterContentDaoImpl();
	}

	@Override
	public List<ChapterContent> getChapterContentByChapterId(int id) {
		List<ChapterContent> list=chapterContentDao.getChapterContentByChapterId(id);
		return list;
	}

}
